package com.ruoyi.enterprise.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.jobservice.domain.SCompany;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 求职信息对象 s_interview
 *
 * @author jeffery
 * @date 2021-09-03
 */
@Data
public class SInterview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 求职信息ID */
    private Long interviewId;

    /** 简历ID */
    private Long resumeId;


    @Excels({
            @Excel(name = "求职者姓名", targetAttr = "username", type = Excel.Type.EXPORT),
            @Excel(name = "联系方式", targetAttr = "phone_no", type = Excel.Type.EXPORT)
    })
    private SResume sresume;

    /** 用工单位ID */
    private Long companyId;

    @Excels({
            @Excel(name = "公司名称", targetAttr = "companyName", type = Excel.Type.EXPORT),
            @Excel(name = "公司地址", targetAttr = "address", type = Excel.Type.EXPORT)
    })
    private SCompany scompany;

    /** 岗位ID */
    private Long jobId;

    @Excels({
            @Excel(name = "岗位名称", targetAttr = "jobName", type = Excel.Type.EXPORT),
            @Excel(name = "岗位描述", targetAttr = "jobDesc", type = Excel.Type.EXPORT)
    })
    private SJob sjob;

    /** 求职类型 */
    @Excel(name = "求职类型")
    private Integer interviewType;

    /** 简历状态 */
    @Excel(name = "简历状态")
    private Integer resumeStatus;


}